package edu.gxnu.cetcdemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.gxnu.cetcdemo.pojo.User;
import edu.gxnu.cetcdemo.utils.Result;
import org.springframework.stereotype.Service;

/**
* @author Uplifted
* @description 针对表【user】的数据库操作Service
* @createDate 2024-04-02 15:09:11
*/
@Service
public interface UserService extends IService<User> {
    // 用户注册
    Result register(User user);

    // 用户登录
    Result login(User user);

    // 浏览个人信息
    Result queryProfile(long userId);

    // 更新个人信息
    Result updateProfile(User user);
}
